package com.site.wisdom_construction.service.safetyModule;

import com.site.wisdom_construction.dao.safetyModule.SafetyRiskSourcePublicDao;
import com.site.wisdom_construction.entity.safetyModule.SafetyRiskSourcePublic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/13
 * @Description
 */
@Service
public class SafetyRiskSourcePublicService implements SafetyRiskSourcePublicDao {
    @Autowired
    private SafetyRiskSourcePublicDao safetyRiskSourcePublicDao;

    @Override
    public int insertSafetyRiskSourcePublic(Map map) {
        return safetyRiskSourcePublicDao.insertSafetyRiskSourcePublic(map);
    }

    @Override
    public int deleteSafetyRiskSourcePublic(Map map) {
        return safetyRiskSourcePublicDao.deleteSafetyRiskSourcePublic(map);
    }

    @Override
    public int updateSafetyRiskSourcePublic(Map map) {
        return safetyRiskSourcePublicDao.updateSafetyRiskSourcePublic(map);
    }

    @Override
    public List<SafetyRiskSourcePublic> findSafetyRiskSourcePublicByPage(Map map) {
        return safetyRiskSourcePublicDao.findSafetyRiskSourcePublicByPage(map);
    }

    @Override
    public long Total(Map map) {
        return safetyRiskSourcePublicDao.Total(map);
    }

    @Override
    public List<SafetyRiskSourcePublic> selectSafetyRiskSourcePublic(Map map) {
        return safetyRiskSourcePublicDao.selectSafetyRiskSourcePublic(map);
    }
}
